package com.jinxin.platform.cdacscontrolmgr.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <b>[cdacscontrolmgr_regist_info]数据持久化对象</b>
 * <p>
 * 注意:此文件自动生成-禁止手工修改。
 * </p>
 * 
 * @author @blue
 * @date 2021-09-28
 */
@ApiModel("访客登记信息")
public class CdacscontrolmgrRegistInfo{

	/**
	 * 访客登记记录ID
	 */
	@ApiModelProperty("访客登记记录ID")
	private String id;
	
	/**
	 * 业主姓名
	 */
	@ApiModelProperty("业主姓名")
	private String ownerName;
	
	/**
	 * 业主手机号
	 */
	@ApiModelProperty("业主手机号")
	private String ownerPhone;
	
	/**
	 * 访客姓名
	 */
	@ApiModelProperty("访客姓名")
	private String visitorName;
	
	/**
	 * 访客车牌号或手机号
	 */
	@ApiModelProperty("访客车牌号或手机号")
	private String carnoOrPhone;
	
	/**
	 * 项目ID
	 */
	@ApiModelProperty("项目ID")
	private String projectId;
	
	/**
	 * 到访日期
	 */
	@ApiModelProperty("到访日期")
	private String visitDate;
	
	/**
	 * 进入时间
	 */
	@ApiModelProperty("进入时间")
	private String comeinTime;
	
	/**
	 * 离开时间
	 */
	@ApiModelProperty("离开时间")
	private String leaveTime;
	
	/**
	 * 访客照片(base64)
	 */
	@ApiModelProperty("访客照片(base64)")
	private String base64Pic;
	
	/**
	 * 状态1待来访2未到访3已到访
	 */
	@ApiModelProperty("状态1待来访2未到访3已到访")
	private Integer status;


	/**
	 * 到访时间
	 */
	@ApiModelProperty("到访时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@JsonSerialize(using = LocalDateTimeSerializer.class)
	private LocalDateTime visitTime;

	/**
	 * 临时密码
	 */
	@ApiModelProperty("临时密码")
	private String tempPwd;

	/**
	 * 文件
	 */
	@ApiModelProperty("文件地址")
	private String file;
	/**
	 * 访客登记记录ID
	 * 
	 * @return id
	 */
	public String getId() {
		return id;
	}
	
	/**
	 * 业主姓名
	 * 
	 * @return ownerName
	 */
	public String getOwnerName() {
		return ownerName;
	}
	
	/**
	 * 业主手机号
	 * 
	 * @return ownerPhone
	 */
	public String getOwnerPhone() {
		return ownerPhone;
	}
	
	/**
	 * 访客姓名
	 * 
	 * @return visitorName
	 */
	public String getVisitorName() {
		return visitorName;
	}
	
	/**
	 * 访客车牌号或手机号
	 * 
	 * @return carnoOrPhone
	 */
	public String getCarnoOrPhone() {
		return carnoOrPhone;
	}
	
	/**
	 * 项目ID
	 * 
	 * @return projectId
	 */
	public String getProjectId() {
		return projectId;
	}
	
	/**
	 * 到访日期
	 * 
	 * @return visitDate
	 */
	public String getVisitDate() {
		return visitDate;
	}
	
	/**
	 * 进入时间
	 * 
	 * @return comeinTime
	 */
	public String getComeinTime() {
		return comeinTime;
	}
	
	/**
	 * 离开时间
	 * 
	 * @return leaveTime
	 */
	public String getLeaveTime() {
		return leaveTime;
	}
	
	/**
	 * 访客照片(base64)
	 * 
	 * @return base64Pic
	 */
	public String getBase64Pic() {
		return base64Pic;
	}
	
	/**
	 * 状态1待来访2未到访3已到访
	 * 
	 * @return status
	 */
	public Integer getStatus() {
		return status;
	}
	

	/**
	 * 访客登记记录ID
	 * 
	 * @param id
	 */
	public void setId(String id) {
		this.id = id;
	}
	
	/**
	 * 业主姓名
	 * 
	 * @param ownerName
	 */
	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}
	
	/**
	 * 业主手机号
	 * 
	 * @param ownerPhone
	 */
	public void setOwnerPhone(String ownerPhone) {
		this.ownerPhone = ownerPhone;
	}
	
	/**
	 * 访客姓名
	 * 
	 * @param visitorName
	 */
	public void setVisitorName(String visitorName) {
		this.visitorName = visitorName;
	}
	
	/**
	 * 访客车牌号或手机号
	 * 
	 * @param carnoOrPhone
	 */
	public void setCarnoOrPhone(String carnoOrPhone) {
		this.carnoOrPhone = carnoOrPhone;
	}
	
	/**
	 * 项目ID
	 * 
	 * @param projectId
	 */
	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}
	
	/**
	 * 到访日期
	 * 
	 * @param visitDate
	 */
	public void setVisitDate(String visitDate) {
		this.visitDate = visitDate;
	}
	
	/**
	 * 进入时间
	 * 
	 * @param comeinTime
	 */
	public void setComeinTime(String comeinTime) {
		this.comeinTime = comeinTime;
	}
	
	/**
	 * 离开时间
	 * 
	 * @param leaveTime
	 */
	public void setLeaveTime(String leaveTime) {
		this.leaveTime = leaveTime;
	}
	
	/**
	 * 访客照片(base64)
	 * 
	 * @param base64Pic
	 */
	public void setBase64Pic(String base64Pic) {
		this.base64Pic = base64Pic;
	}
	
	/**
	 * 状态1待来访2未到访3已到访
	 * 
	 * @param status
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	public LocalDateTime getVisitTime() {
		return visitTime;
	}

	public void setVisitTime(LocalDateTime visitTime) {
		this.visitTime = visitTime;
	}

	public String getTempPwd() {
		return tempPwd;
	}

	public void setTempPwd(String tempPwd) {
		this.tempPwd = tempPwd;
	}

	public String getFile() {
		return file;
	}

	public void setFile(String file) {
		this.file = file;
	}
}